﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default2.aspx.cs" Inherits="PropertyManagement.default2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        body
        {
            width:800px;
            margin:0 auto;
            height:100%;
        }
        #div1
        {
            width:100%;
            height:120px;
            background-image:url("./picture/index_05.jpg");
            float:left;
            padding:0;
            margin:0;
            margin-bottom:5px;
        }
        #div2
        {
            width:100%;
            height:40px;
        }
        #div2 ul
        {
            width:100%;
            list-style:none;
            margin:0px;
        }
        #div2 ul li
        {
            width:113px;
            float:left;
            background-color:pink;
            
        }
        #div2 ul li a
        {
            display:block;
            width:110px;
            height:34px;
            line-height:30px;
            text-align:center;
            text-decoration:none;
            font-size:14px;
        }
        #div2 ul li a:hover
        {
            background-color: red;
        }
        
        #main
        {
            width:100%;
            float:left;
        }
        #left
        {
            width:29%;
            height:360px;
            float:left;
            border:1px solid red;
        }
        #right
        {
            width:70%;
            height:360px;
            float:left;
            border:1px solid #00ff21;
        }
        #news,#pay
        {
            width:100%;
            height:176px;
            float:left;
            border:1px solid red;
        }
        #pay
        {
            border:1px solid blue;
        }
        #news1
        {
            background-image:url("./picture/xw.gif");
            width:100%;
            height:30px;
            float:left;
        }
        #news1 a
        {
            text-decoration:none;
            display:block;
            width:60px;
            height:30px;
            line-height:30px;
            float:right;
        }
        #news ul
        {
            width:100%;
            list-style:none;
            margin:0px;
        }
        #news2 .one,#news2 .two
        {
            width:15%;
            height:30px;
            float:left;
            background-color:#797575;
            text-align:center;
            line-height:30px;
            color:#ffffff;
            font-size:14px;
        }
        #news2 .one
        {
            width:55%;
        }
        #footer
        {
            width:100%;
            height:40px;
            float:left;
            border:1px solid black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="div1"></div>
    <div id="div2">
       <ul>
         <li><a href="./weihu/selectWeiHu.aspx">维护查询</a></li>
         <li><a href="./qianfei/selectQianFei.aspx">欠费</a></li>
         <li><a href="./tousu/selectTouSu.aspx">投诉查询</a></li>
         <li><a href="./yuanGong/selectYuanGong.aspx">员工查询</a></li>
         <li><a href="./zhuhu/selectZhuHu.aspx">住户查询</a></li>
         <li><a href="./xinwen/selectXinWen.aspx">新闻查询</a></li>
         <li><a href="./AnNui.aspx">住户查询</a></li>
      </ul>
    </div>
    <div id="main">
       <div id="left">
          此处省略
       </div>
       <div id="right">
          <div id="news">
             <span id="news1"><a href="#">more</a></span>
             <ul id="news2">
                <li class="one">新闻标题</li>
                <li class="two">发布日期</li>
                <li class="two">新闻状态</li>
                <li class="two">详细信息</li>

                <% foreach (System.Data.DataRow row in dt.Rows)
                   {
                %>    
                <li class="one"><% =row["stitle"] %></li>
                <li class="two"><% =row["stime"] %></li>
                <li class="two"><% =row["sstatus"] %></li>
                <li class="two"><a href="#">详细信息</a></li>
                <% } %>

             </ul>
          </div>
       </div>
    </div>
    <div id="footer">
       
    </div>
    </form>
</body>
</html>
